<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>商品类型添加页面</title>
<link rel="stylesheet" th:href="@{/css/bootstrap.min.css}" />
<body>
	<div th:include="admin/header"></div>
	<br><br><br>
	<section class="home-section">
		<div class="home-content">
			<i class='bx bx-menu' ></i>
			<span class="text">管理员界面</span>
		</div>
		<div class="test">
			<div class="container" style="margin-left: 160px">
				<div class="bg-primary"  style="width:70%; height: 60px;padding-top: 0.5px;background-color: rgba(85,81,133,0.6);">
					<h3 align="center">添加类型</h3>
				</div><br>
				<form th:action="@{/type/addType}" name="myform" method="post" th:object="${goodsType}"  class="form-horizontal" role="form" style="margin-left: 60px">
					<div class="form-group has-success">
						<label class="col-sm-2 col-md-2 control-label">类型名称</label>
						<div class="col-sm-4 col-md-4">
							<input type="text" class="form-control"
								   placeholder="请输入类型名"
								   th:field="*{typename}"/>
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-offset-2 col-sm-10">
							<button type="submit"class="btn btn-success" >添加</button>
							<button type="reset" class="btn btn-primary" >重置</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</section>

</body>
</html>